package com.lanou.pianke.admin.entity;

import java.util.List;

public class Pcomment {
    // 碎片评论自增id
    private Long id;
    // 页面碎片评论id
    private String pcommentId;
    // 碎片id
    private String pieceid;
    // 碎片评论时间
    private Integer pcommentTime;
    // 碎片评论内容
    private String pcommentContent;
    // 碎片评论用户id
    private Long uid;
    // 碎片被评论用户id
    private Long pauthorId;
    // 消息是否已读
    private Integer isreaded;
    // 碎片评论状态:0表示存在 , 1 表示删除
    private Integer pcommentStatus;
    // 评论被举报数
    private Integer pcommentReport;

    // 碎片评论id的回复集合
    private List<Preply> preplyList;


    public Pcomment() {
    }



    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPcommentId() {
        return pcommentId;
    }

    public void setPcommentId(String pcommentId) {
        this.pcommentId = pcommentId;
    }

    public String getPieceid() {
        return pieceid;
    }

    public void setPieceid(String pieceid) {
        this.pieceid = pieceid;
    }

    public Integer getPcommentTime() {
        return pcommentTime;
    }

    public void setPcommentTime(Integer pcommentTime) {
        this.pcommentTime = pcommentTime;
    }

    public String getPcommentContent() {
        return pcommentContent;
    }

    public void setPcommentContent(String pcommentContent) {
        this.pcommentContent = pcommentContent;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Long getPauthorId() {
        return pauthorId;
    }

    public void setPauthorId(Long pauthorId) {
        this.pauthorId = pauthorId;
    }

    public Integer getIsreaded() {
        return isreaded;
    }

    public void setIsreaded(Integer isreaded) {
        this.isreaded = isreaded;
    }

    public List<Preply> getPreplyList() {
        return preplyList;
    }

    public Integer getPcommentStatus() {
        return pcommentStatus;
    }

    public void setPcommentStatus(Integer pcommentStatus) {
        this.pcommentStatus = pcommentStatus;
    }

    public void setPreplyList(List<Preply> preplyList) {
        this.preplyList = preplyList;
    }

    public Integer getPcommentReport() {
        return pcommentReport;
    }

    public void setPcommentReport(Integer pcommentReport) {
        this.pcommentReport = pcommentReport;
    }

    @Override
    public String toString() {
        return "Pcomment{" +
                "id=" + id +
                ", pcommentId='" + pcommentId + '\'' +
                ", pieceid='" + pieceid + '\'' +
                ", pcommentTime=" + pcommentTime +
                ", pcommentContent='" + pcommentContent + '\'' +
                ", uid=" + uid +
                ", pauthorId=" + pauthorId +
                ", isreaded=" + isreaded +
                ", pcommentStatus=" + pcommentStatus +
                ", pcommentReport=" + pcommentReport +
                ", preplyList=" + preplyList +
                '}';
    }
}
